#include "checksum_xor.h"

uint8_t MakeChecksumXor(uint8_t *inData, size_t length)
{
    uint8_t chk = 0;

    while (length-- > 0) {
        chk ^= *inData++;
    }

    return chk;
}

